Revert "tools: libxc: flush data cache after loading images into guest memory"
authorIan Campbell <ian.campbell@citrix.com>
Tue, 7 Jan 2014 15:52:29 +0000 (15:52 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 10 Jan 2014 16:59:01 +0000 (16:59 +0000)
commit4fad2dc72a8607f50c3783e1cbcb3fb25e3af932
tree070f536bddf4ef8b36d53a57f9a697de8e5b3b0d
parent89eb02c2204a0b42a0aa169f107bc346a3fef802
Revert "tools: libxc: flush data cache after loading images into guest memory"

This reverts commit a0035ecc0d82c1d4dcd5e429e2fcc3192d89747a.

Even with this fix there is a period between the flush and the unmap where
processor may speculate data into the cache. The solution is to map this
region uncached or to use the HCR.DC bit to mark all guest accesses cached.
89eb02c2204a "xen: arm: force guest memory accesses to cacheable when MMU is
disabled" has arranged to do the latter.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxc/xc_dom_armzimageloader.c
tools/libxc/xc_dom_binloader.c
tools/libxc/xc_dom_core.c
tools/libxc/xc_linux_osdep.c
tools/libxc/xc_minios.c
tools/libxc/xc_netbsd.c
tools/libxc/xc_private.c
tools/libxc/xc_private.h
tools/libxc/xc_solaris.c
tools/libxc/xenctrl_osdep_ENOSYS.c
tools/libxc/xenctrlosdep.h